import numpy as np

if __name__ == "__main__":
    # help(np.zeros)
    M = np.zeros((8,8),dtype=int)
    for i in range(8):
        for j in range(8):
            M[i][j] = (i+j) % 2
    print(M)
    pass